package com.wang.jmonkey.modules.system.model.enums;

import com.wang.jmonkey.common.model.enums.BaseEnum;

/**
 * @Description 系统资源类型
 * @Author HeJiawang
 * @Date 2021/5/22 9:23
 */
public enum SystemResourceTypeEnum implements BaseEnum<Integer> {

    Module(1, "系统模块"),
    Menu(2, "系统菜单"),
    Button(3, "按钮权限"),
    ;

    private Integer value;
    private String desc;

    SystemResourceTypeEnum(Integer value, String desc) {
        this.value = value;
        this.desc = desc;
    }

    @Override
    public String getDesc() {
        return this.desc;
    }

    @Override
    public Integer getValue() {
        return this.value;
    }
}
